from flask import Blueprint
from flask_restful import Api

# 创建蓝图对象
cate_bp = Blueprint('category', __name__, url_prefix='/category')
cate_api = Api(cate_bp)

attr_bp = Blueprint('attribute', __name__)
attr_api = Api(attr_bp)

from flask_shop.category import view
